import request from '@/utils/request'

// 手机验证码
export function sendPhoneCode(phoneNumber) {
    return request({
        url: '/verification/send/phone?phoneNumber=' + phoneNumber,
        method: 'get'
    })
}

// 邮箱验证码
export function sendEmailCode(email) {
    return request({
        url: '/verification/send/email?email=' + email,
        method: 'get'
    })
}

